<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Ebook Shop</title>
</head>
<body>
    <h1>Welcome to Ebook Shop!</h1>
    {% include 'ebooks/menu.html' %}

    <h2>Search for a book</h2>
    <form action="{% url 'book_search' %}" method="post">
      {% csrf_token %}
      <div class="form-group">
        <label for="title">Title:</label>
        <input type="text" name="title" id="title" class="form-control">
      </div>
        </br>
      <div class="form-group">
        <label for="author">Author:</label>
        <input type="text" name="author" id="author" class="form-control">
      </div>
        </br>
      <button type="submit" class="btn btn-primary">Search</button>
    </form>
</body>
</html>